package com.test4;

import java.util.LinkedList;
import java.util.List;

public class LinkTest {
	public static void main(String[] args) {
		LinkedList<String> list = new LinkedList<String>();
		list.addFirst("lisa");
		list.addFirst("alex");
		
		
		list.removeLast();
		System.out.println(list.getFirst());
	}
}
